//package com.jack.orderservice.listener;
//
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Service;
//
////@Service
////@RocketMQMessageListener(consumerGroup = "jack-consumer",topic="jack-topic")
//public class ConsumerListener implements RocketMQListener<String> {
//    @Override
//    public void onMessage(String s) {
//        System.out.println("获取到生产者生产的消息: "+s);
//    }
//}
